<%@ page pageEncoding="UTF-8"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.base.DatabaseObject"%>
<%@page import="com.base.Config"%>
<%@page import="java.math.BigDecimal"%>
<%@page import="com.base.Constant"%>
<%@include file="inc-header.jsp"%><!-- MAIN CONTENT -->
<div class="box bottom10">
	<%@include file="inc-nav-header.jsp"%>
	<%
	String sPCatId = Utils.getParam(request, "pcatid", "0");
	String sCatId = Utils.getParam(request, "catid", "0");
	String sPage = Utils.getParam(request, "page", "1");
	String sId = Utils.getParam(request, "id", "0");
	DatabaseObject category = contentDAO.getCategory(new BigDecimal(sCatId));
	int icheckCount = contentDAO.checkCount(new BigDecimal(sId)); 

	%>
	<div class="tab2">
		<%@include file="dichvu-adv.jsp" %> >>
		<a href="football.jsp?act=dv" <%=category != null?"":"class=\"active\"" %>> Bóng đá
	</div>
	<!--end .tab2-->
	<!-- BODY CONTENT -->

	<div class="box clearfix">
		<div class="title">
			<h3 class="bg">
				<strong> Bóng đá</strong>
			</h3>
		</div>
		<!--end .title-->
		<ul class="list-dot"><%
		String catParentId = Config.getStringProperty("CAT_FOOTBALL_PARENT_ID", "1", false);
		if (!StringTool.isEmptyOrNul(catParentId)) {
			ArrayList<DatabaseObject> categoryList = contentDAO.getCategory(catParentId, null);
			for (DatabaseObject cat : categoryList) {%>
			<li>
				<img src="images/icon-list.png" alt="<%=cat.getAttribute().get("NAME") %>">
				<a href="football-sub.jsp?act=dv&pcatid=<%=cat.getAttribute().get("ID") %>"> <%=cat.getAttribute().get("NAME") %> </a>
			</li>
		<%}}%>
		</ul>
	</div>
	<!-- END BODY CONTENT -->
</div>
<!--end .box bottom10-->
<%@include file="inc-nav-bottom.jsp"%>
<!-- END MAIN CONTENT -->
<%@include file="inc-footter.jsp"%>
